<!DOCTYPE html>
<html>
<head>
	<title>Orientation Test using orient attribute</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<link rel="icon" type="image/png" href="../iui/iui-favicon.png">
	<link rel="apple-touch-icon" href="../iui/iui-logo-touch-icon.png" />
	<meta name="apple-mobile-web-app-capable" content="yes" />

	<link rel="stylesheet" href="../iui/iui.css" type="text/css" />
	<link rel="stylesheet" title="Default" href="../iui/t/default/default-theme.css"  type="text/css"/>
	<script type="application/x-javascript" src="../iui/iui.js"></script>
	<style type="text/css">
	   /* CSS to add ": True" or ": False" after headings to indicate orientation */
	   /* These rules use the body/@orient attribute */
	   div.panel > h2:after { content: ":  False"; }
	   div.panel > h2.neither:after { content: ":  True"; }
	   body[orient="landscape"] > div.panel > h2.landscape:after { content: ":  True"; }
	   body[orient="landscape"] > div.panel > h2.neither:after { content: ":  False"; }
	   body[orient="portrait"] > div.panel > h2.portrait:after { content: ":  True"; }
	   body[orient="portrait"] > div.panel > h2.neither:after { content: ":  False"; }
	</style>
</head>

<body>
    <div class="toolbar">
        <h1 id="pageTitle"></h1>
    </div>
    
    <div id="main" title="Orient @orient" class="panel" selected="true">
        <h2 class="portrait">Portrait</h2>
        <h2 class="landscape">Landscape</h2>
        <h2 class="neither">Unknown</h2>
    </div>
</body>
</html>
